<?php

class Login extends Controller{

    function Login() 
    {
        parent::Controller();
    }
    
    function index()
    {  
        if (!$this->user->isLogged()) {
            $output['redirUrl']=site_url($this->session->flashdata('redir'));
            $this->load->view('admin/login/login.html.php',$output);
        } else {
            $this->load->view('admin/login/logout.html.php',$output);
        }
    }
    

} 
?>
